/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wypozyczalnia;

import java.util.ArrayList;

/**
 *
 * @author Adrian
 */
public class WyszukajWplatManager {
    
    private WyszukajWplatDAO dao;
    private ArrayList<WplataData> dataList;
 
    public WyszukajWplatManager(){
        super();
        dao = new WyszukajWplatDAO();
        dataList = new ArrayList<WplataData>();        
    }
    
    public void  getListaWplat(){
        dataList = dao.getListaWplat();        
    }

    public ArrayList<WplataData> getDataList() {
        return dataList;
    }

    public void setDataList(ArrayList<WplataData> dataList) {
        this.dataList = dataList;
    }
 
}
